package dnl.dtools.grm;

import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.URL;

import dnl.dtools.grm.remote.UserPasswordRemoteSessionInfo;

public class SessionResource extends Resource {

	private UserPasswordRemoteSessionInfo sessionInfo;
	
	public SessionResource(URL url, UserPasswordRemoteSessionInfo sessionInfo){
		super(url);
		this.sessionInfo = sessionInfo;
	}
	
	public boolean delete() throws IOException {
		return false;
	}

	public boolean exists() {
		return false;
	}

	public Resource getChild(String name) {
		return null;
	}

	public String getName() {
		return sessionInfo.getSessionName();
	}

	public Resource getParent() {
		return null;
	}

	public boolean isDirectory() {
		return true;
	}

	public Resource[] list() throws ResourceExtractionException {
		// TODO Auto-generated method stub
		return null;
	}

	public boolean renameTo(Resource dest) throws IOException {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public InputStream getInputStream() throws IOException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public long getLastModified() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public OutputStream getOutputStream() throws IOException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public long getSize() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public boolean isArchive() {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean isArchiveEntry() {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean isHidden() {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean isLocal() {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean mkDir() throws IOException {
		// TODO Auto-generated method stub
		return false;
	}

}
